<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<title>My JSP 'login.jsp' starting page</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<meta name="renderer" content="webkit">
<link rel="stylesheet" href="<%=basePath%>res/css/main.css">
<link rel="stylesheet" href="<%=basePath%>res/css/lrtk.css">
<link rel="stylesheet" href="<%=basePath%>res/css/search.css">
<script src="<%=basePath%>res/js/jquery.js"></script>
<script src="<%=basePath%>res/js/jdt.js"></script>
</head>
<body>
	<script>
		(function() {
			var a = document.body;
			window.screen.width > 1024 ? a.className = "w1190"
					: a.className = "w990"
		})();
	</script>
	<div class="header">
		<div class="loginstatus">
			<div class="banner-login">
				<ul>
					<c:if test="${empty sessionScope.currUser.userName }">
						<li><a href="<%=basePath%>login.jsp">亲，请登陆</a></li>
					</c:if>
					<c:if test="${!empty sessionScope.currUser.userName }">
						<li><a href="<%=basePath%>#">欢迎:${sessionScope.currUser.userName }</a></li>
						<li><a href="logout.action">退出</a></li>
					</c:if>
					<c:if test="${empty sessionScope.currUser.userName }">
						<li><a href="<%=basePath%>register.jsp">免费注册</a></li>
					</c:if>
				</ul>
			</div>
			<div>
				<ul class="sddm">
					<li><a href="../index.jsp">首页</a></li>
					<li><a href="#" onmouseover="mopen('m1')"
						onmouseout="mclosetime()">我的账号</a>
						<div id="m1" onmouseover="mcancelclosetime()"
							onmouseout="mclosetime()">
							<a href="#">已买商品</a> <a href="#">我的上新</a> <a href="#">我的优惠</a>
						</div></li>
					<li><a href="#" onmouseover="mopen('m2')"
						onmouseout="mclosetime()">商品收藏</a>
						<div id="m2" onmouseover="mcancelclosetime()"
							onmouseout="mclosetime()">
							<a href="#">卖家收藏</a> <a href="#">宝贝收藏</a>
						</div></li>
					<li><a href="#" onmouseover="mopen('m3')"
						onmouseout="mclosetime()">账号信息</a></li>
				</ul>
			</div>
		</div>




		<div class="logo">
			<a href="../index.jsp"><img src="../img/logo.jpg" /></a>
		</div>
		<div class="uc_op">
			<ul>
				<li style="background-color: red;"><a href="bought.jsp"
					target="context">已买宝贝</a></li>
				<li style="background-color: #00008B;"><a
					href="published.action" target="context">已发布宝贝</a></li>
				<li style="background-color: blue;"><a href="publishgoods.jsp"
					target="context">发布宝贝</a></li>
			</ul>
		</div>

	</div>
	<%-- <div
		style="width:25%;height:100%;float: left;background: gray; padding: 10px;">
		<ul>
			<li style="width: 100%; height: 5px;float: left; padding: 3px;">
				<div>
					<div>
						<img alt="主人比较懒" src="../img/qrcode.png"
							style="width:200px;height:200px; 5px; border: green solid 1px;">

					</div>
					<div>
						<ul>
							<form action="action#" method="post"
								enctype="multipart/form-data" id="publishform">
								<li>&nbsp;&nbsp;</li>
								<li><span><input type="file" name="reImage"></span></li>
							</form>
							<li><input type="submit" value="更新头像" onclick=""></li>
							<li>&nbsp;&nbsp;</li>
							<li>&nbsp;&nbsp;</li>
							<li><c:if test="${empty sessionScope.currUser.userName }">
									<li></li>
								</c:if> <c:if test="${!empty sessionScope.currUser.userName }">
									<li>用户名:${sessionScope.currUser.userName }</li>
								</c:if></li>
							<li><c:if test="${empty sessionScope.currUser.userName }">
									<li></li>
								</c:if> <c:if test="${!empty sessionScope.currUser.userName }">
									<li>联系方式:${sessionScope.currUser.userMobile }</li>
								</c:if></li>
							<li><c:if test="${empty sessionScope.currUser.userName }">
									<li></li>
								</c:if> <c:if test="${!empty sessionScope.currUser.userName }">
									<li>用户地址:${sessionScope.currUser.userAddress }</li>
								</c:if></li>
							<li><c:if test="${empty sessionScope.currUser.userName }">
									<li></li>
								</c:if> <c:if test="${!empty sessionScope.currUser.userName }">
									<li><input type="submit" value="修改"></li>
								</c:if></li>
							<li><c:if test="${empty sessionScope.currUser.userName }">
									<li></li>
								</c:if> <c:if test="${!empty sessionScope.currUser.userName }">
									<li><input type="submit" value="退出"></li>
								</c:if></li>
						</ul>
					</div>
				</div>
			</li>
		</ul>
	</div> --%>
	<div class="main">
		<iframe name="context" src="welcome.jsp"
			style="width:100%;min-height:566px;float: right; padding: 10px">
		</iframe>
	</div>




	<div class="footer">&copy;版权所有 侵权必究</div>

</body>
</html>